<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace app\api\controller;

/**
 * Description of Registion
 *
 * @author DevPHP
 * @version 2018-4-8
 */
class Registion {

    public function get_regist_conf() {
        $data = ['status' => 1, 'info' => ''];
        return json_encode($data);
    }

    /**
     * 功能
     * 检测是否允许注册
     * 检测IP黑名单、帐号黑名单
     */
    public function do_regist() {
        $regist_type = \think\facade\Request::param("regist_type");
        switch ($regist_type) {
            case 'pwd':
                break;
        }
    }

}
